import { http } from "@/utils/http";
import { pageData } from "@/Model/pageDataBase";
import { resultBase } from "@/Model/resultBase";
import { sendMessageVM } from "@/Model/sendMessage";

/**
 * 获取分页数据
 */
export const getPageDataApi = (data?: object) => {
  return http.request<resultBase<pageData<sendMessageVM>>>(
    "post",
    "/api/SendMessage/GetPageList",
    {
      data
    }
  );
};
